import service from '../utils/request'


// 1.删除地址
export function address_delete(payload = {}) {
    return service.post('/api/address/delete',  payload )
}
// 2.地址列表
export function address_list(payload = {}) {
    return service.get('/api/address/list', { params: payload })
}
// 3.更新地址
export function address_update(payload = {}) {
    return service.post('/api/address/update', payload )
}
// 4.查询默认接口
export function address_defaultAddress(payload = {}) {
    return service.post('/api/address/defaultAddress', payload )
}
// 5.添加地址
export function address_add(payload = {}) {
    return service.post('/api/address/add', payload )
}